package sisi.ports;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * Port.java - The persistent class for the <i>port database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 20/11/2013
 * 
 */
@Entity
@Table(name="ports")
public class Port implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="PORTS_ID_GENERATOR", sequenceName="PORTSSEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PORTS_ID_GENERATOR")
	private Integer id;

	private String city;

	private String contactname1;

	private String contactname2;

	private String contactname3;

	private String country;

	private Timestamp dtup;

	private String email;

	private String ew;

	private String faxcn1;

	private String faxcn2;

	private String faxcn3;

	private String latdegrees;

	private String londegrees;

	private String note;

	private String portname;

	private String region;

	private String sn;

	private String telcn1;

	private String telcn2;

	private String telcn3;

	private String website;

	/**
	 * Port.java - The persistent class for the <i>port database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 20/11/2013
	 * 
	 */
	public Port() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getContactname1() {
		return this.contactname1;
	}

	public void setContactname1(String contactname1) {
		this.contactname1 = contactname1;
	}

	public String getContactname2() {
		return this.contactname2;
	}

	public void setContactname2(String contactname2) {
		this.contactname2 = contactname2;
	}

	public String getContactname3() {
		return this.contactname3;
	}

	public void setContactname3(String contactname3) {
		this.contactname3 = contactname3;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Timestamp getDtup() {
		return this.dtup;
	}

	public void setDtup(Timestamp dtup) {
		this.dtup = dtup;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEw() {
		return this.ew;
	}

	public void setEw(String ew) {
		this.ew = ew;
	}

	public String getFaxcn1() {
		return this.faxcn1;
	}

	public void setFaxcn1(String faxcn1) {
		this.faxcn1 = faxcn1;
	}

	public String getFaxcn2() {
		return this.faxcn2;
	}

	public void setFaxcn2(String faxcn2) {
		this.faxcn2 = faxcn2;
	}

	public String getFaxcn3() {
		return this.faxcn3;
	}

	public void setFaxcn3(String faxcn3) {
		this.faxcn3 = faxcn3;
	}

	public String getLatdegrees() {
		return this.latdegrees;
	}

	public void setLatdegrees(String latdegrees) {
		this.latdegrees = latdegrees;
	}

	public String getLondegrees() {
		return this.londegrees;
	}

	public void setLondegrees(String londegrees) {
		this.londegrees = londegrees;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getPortname() {
		return this.portname;
	}

	public void setPortname(String portname) {
		this.portname = portname;
	}

	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getTelcn1() {
		return this.telcn1;
	}

	public void setTelcn1(String telcn1) {
		this.telcn1 = telcn1;
	}

	public String getTelcn2() {
		return this.telcn2;
	}

	public void setTelcn2(String telcn2) {
		this.telcn2 = telcn2;
	}

	public String getTelcn3() {
		return this.telcn3;
	}

	public void setTelcn3(String telcn3) {
		this.telcn3 = telcn3;
	}

	public String getWebsite() {
		return this.website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

}